Remove trailing whitespace. Again excludes vendor-import and work-in-progress. 
diff --git a/cssom-view-1/CaretPosition-001.html b/cssom-view-1/CaretPosition-001.html index 4bda160..3359d9c 100644 --- a/cssom-view-1/CaretPosition-001.html +++ b/cssom-view-1/CaretPosition-001.html 
@@ -5,7 +5,7 @@  <link rel="author" title="unbug" href="mailto:tidelgl@gmail.com" />  <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-caretposition-interface">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testharnessreport.js"></script> 	<style type="text/css"> 	.box{  position: absolute; @@ -38,7 +38,7 @@  },'getBox');  function getBox(id){  return document.getElementById(id); - }  + } 	</script>  </body> -</html> \ No newline at end of file +</html> 
diff --git a/cssom-view-1/MediaQueryList-001.html b/cssom-view-1/MediaQueryList-001.html index 6a5a317..50bb9bf 100644 --- a/cssom-view-1/MediaQueryList-001.html +++ b/cssom-view-1/MediaQueryList-001.html 
@@ -5,7 +5,7 @@  <link rel="author" title="unbug" href="mailto:tidelgl@gmail.com" />  <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-mediaquerylist-interface">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testharnessreport.js"></script> 	<style type="text/css"> 	</style>  </head> @@ -19,4 +19,4 @@  },'matchMedia'); 	</script>  </body> -</html> \ No newline at end of file +</html> 
diff --git a/cssom-view-1/Screen-pixelDepth-Screen-colorDepth001.html b/cssom-view-1/Screen-pixelDepth-Screen-colorDepth001.html index a63937c..bf64dcd 100644 --- a/cssom-view-1/Screen-pixelDepth-Screen-colorDepth001.html +++ b/cssom-view-1/Screen-pixelDepth-Screen-colorDepth001.html 
@@ -5,7 +5,7 @@  <link rel="author" title="unbug" href="mailto:tidelgl@gmail.com" />  <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> + <script src="/resources/testharnessreport.js"></script> 	<style type="text/css"> 	</style>  </head> @@ -30,4 +30,4 @@  } 	</script>  </body> -</html> \ No newline at end of file +</html> 
diff --git a/cssom-view-1/cssom-getBoundingClientRect-001.html b/cssom-view-1/cssom-getBoundingClientRect-001.html index 9635026..7d96540 100644 --- a/cssom-view-1/cssom-getBoundingClientRect-001.html +++ b/cssom-view-1/cssom-getBoundingClientRect-001.html 
@@ -19,7 +19,7 @@  text-align: center;  line-height: 188px;  } - </style>  + </style>  </head>  <body>  <div id="testItem">test item</div> @@ -36,6 +36,6 @@  assert_equals(titem.right - titem.left, titem.width, "width should equal right minus left")  }, "getBoundingClientRect() should return a DOMRect where width=right-left"  ) - </script>  + </script>  </body>  </html> 
diff --git a/cssom-view-1/cssom-view-img-attributes-001.html b/cssom-view-1/cssom-view-img-attributes-001.html index 6541dc7..2f42288 100644 --- a/cssom-view-1/cssom-view-img-attributes-001.html +++ b/cssom-view-1/cssom-view-img-attributes-001.html 
@@ -30,15 +30,15 @@  }    var imgAttributes = [ - ["x", false, 10],  + ["x", false, 10],  ["y", false, 10], - ["x", true, 0],  + ["x", true, 0],  ["y", true, 0],  ];    imgAttributes.forEach(function(test_data) { - test (function() { assert_equals(testIMGAttributes(test_data[0], test_data[1]), test_data[2])},  - "test " + test_data[0] + " with display " + test_data[1])  + test (function() { assert_equals(testIMGAttributes(test_data[0], test_data[1]), test_data[2])}, + "test " + test_data[0] + " with display " + test_data[1])  }  );  </script> 
diff --git a/cssom-view-1/cssom-view-window-screen-interface.html b/cssom-view-1/cssom-view-window-screen-interface.html index 00fb45e..837716e 100644 --- a/cssom-view-1/cssom-view-window-screen-interface.html +++ b/cssom-view-1/cssom-view-window-screen-interface.html 
@@ -7,7 +7,7 @@ 	<meta name="flags" content="dom"> 	<meta name="assert" content="window screen interface">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script> 	</head> 	<body> 	<div id="myDiv"></div> @@ -20,21 +20,21 @@ 	test(function(){assert_readonly(window.screen, "height");}, "Screen.height is readonly"); 	test(function(){assert_readonly(window.screen, "colorDepth");}, "Screen.colorDepth is readonly"); 	test(function(){assert_readonly(window.screen, "pixelDepth");}, "Screen.pixelDepth is readonly"); - - -	test(function(){assert_true(window.screen.width >= 0 && window.screen.width < 6000000);},  + + +	test(function(){assert_true(window.screen.width >= 0 && window.screen.width < 6000000);}, 	"window.screen.width >= 0 && window.screen.width < 6000000"); -	test(function(){assert_true(window.screen.height >= 0 && window.screen.height < 6000000);},  +	test(function(){assert_true(window.screen.height >= 0 && window.screen.height < 6000000);}, 	"window.screen.height >= 0 && window.screen.height < 6000000"); -	test(function(){assert_true(window.screen.availWidth >= 0 && window.screen.availWidth <= window.screen.width);},  +	test(function(){assert_true(window.screen.availWidth >= 0 && window.screen.availWidth <= window.screen.width);}, 	"window.screen.availWidth >= 0 && window.screen.availWidth <= window.screen.width"); -	test(function(){assert_true(window.screen.availHeight >= 0 && window.screen.availHeight <= window.screen.height);},  +	test(function(){assert_true(window.screen.availHeight >= 0 && window.screen.availHeight <= window.screen.height);}, 	"window.screen.availHeight >= 0 && window.screen.availHeight <= window.screen.height"); -	test(function(){assert_true(window.screen.colorDepth == 0 || window.screen.colorDepth == 16 || window.screen.colorDepth == 24 || window.screen.colorDepth == 32);},  +	test(function(){assert_true(window.screen.colorDepth == 0 || window.screen.colorDepth == 16 || window.screen.colorDepth == 24 || window.screen.colorDepth == 32);}, 	"window.screen.colorDepth == 0 || window.screen.colorDepth == 16 || window.screen.colorDepth == 24 || window.screen.colorDepth == 32"); 	test(function(){assert_equals(window.screen.pixelDepth, window.screen.colorDepth);}, 	"window.screen.pixelDepth must return the value returned by window.screen.colorDepth"); 	</script>   	</body> -</html> \ No newline at end of file +</html> 
diff --git a/cssom-view-1/elementFromPoint-001.html b/cssom-view-1/elementFromPoint-001.html index 0986736..546df33 100644 --- a/cssom-view-1/elementFromPoint-001.html +++ b/cssom-view-1/elementFromPoint-001.html 
@@ -5,16 +5,16 @@  <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> 	<link rel="help" href="http://www.w3.org/TR/cssom-view/#extensions-to-the-document-interface">  <meta name="flags" content="dom"> - <meta name="assert" content="elementFromPoint returns correct element">  + <meta name="assert" content="elementFromPoint returns correct element">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script> 	<style> 	#targetDiv { 	position: absolute; 	top: 10; 	left: 10; 	height: 100px; -	width: 100px; +	width: 100px; 	} 	</style>  </head> @@ -25,10 +25,10 @@ 	</div> 	<script> 	var element = document.elementFromPoint(15, 15); - + 	test ( function() { 	assert_equals(element.id, "targetDiv", "elementFromPoint didn't return the correct element"); -	});  - </script>  +	}); + </script>  </body> -</html> \ No newline at end of file +</html> 
diff --git a/cssom-view-1/elementFromPosition.html b/cssom-view-1/elementFromPosition.html index 8a86e10..b76bd5c 100644 --- a/cssom-view-1/elementFromPosition.html +++ b/cssom-view-1/elementFromPosition.html 
@@ -96,8 +96,8 @@  ];  var i = 0, len = wrap.length, item;  for ( ; i < len; i++ ) { - item = wrap[ i ];  - test( function () {  + item = wrap[ i ]; + test( function () {  assert_equals( document.elementFromPoint( item.x, item.y).id == 'dom-1', true );  }, 'test some point of the element: ' + item.r);  } 
diff --git a/cssom-view-1/htmlelement-offset-width-001.html b/cssom-view-1/htmlelement-offset-width-001.html index e912fa2..1d48779 100644 --- a/cssom-view-1/htmlelement-offset-width-001.html +++ b/cssom-view-1/htmlelement-offset-width-001.html 
@@ -5,9 +5,9 @@  <link rel="author" title="Michael Howell" href="mailto:michael@notriddle.com">  <link rel="help" href="https://drafts.csswg.org/cssom-view-1/#dom-htmlelement-offsetwidth">  <meta name="flags" content="dom"> - <meta name="assert" content="element.offsetWidth returns 0 when there is no documentElement.">  + <meta name="assert" content="element.offsetWidth returns 0 when there is no documentElement.">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script>  </head>  <body>  <div id="myDiv">...</div> @@ -22,6 +22,6 @@  document.documentElement.remove();  assert_equals(el.offsetWidth, 0, "new element has offset width not equal to zero after removing documentElement");  }); - </script>  + </script>  </body>  </html> 
diff --git a/cssom-view-1/matchMediaAddListener.html b/cssom-view-1/matchMediaAddListener.html index 3b9becb..b131c66 100644 --- a/cssom-view-1/matchMediaAddListener.html +++ b/cssom-view-1/matchMediaAddListener.html 
@@ -30,9 +30,9 @@  var divineCount = 10;  var width_list = [201,199];  var mq1 = iframe_window.matchMedia("(max-width:200px)"); - mq1.addListener(function(mql){  -  - count = count + 1;  + mq1.addListener(function(mql){ + + count = count + 1;    });   
diff --git a/cssom-view-1/offsetParent_element_test.html b/cssom-view-1/offsetParent_element_test.html index 1a2e015..473120f 100644 --- a/cssom-view-1/offsetParent_element_test.html +++ b/cssom-view-1/offsetParent_element_test.html 
@@ -49,7 +49,7 @@  <caption>  <div id="caption-element-child"></div>  </caption> -  +  <tbody>  <tr id="table-element-tr">  <td id="table-element-td"> @@ -114,7 +114,7 @@  { assert: "The offsetParent attribute algorithm rule checking passed!" }  );   -test(function() {  +test(function() {  assert_equals(body_element_child.offsetParent,body);  assert_equals(window.getComputedStyle(relative_element).position,'relative');  assert_equals(relative_element_child.offsetParent,relative_element); @@ -125,9 +125,9 @@  assert_equals(window.getComputedStyle(table_element_tr).position,'static');  assert_equals(table_element_tr.offsetParent,table_element);  assert_equals(window.getComputedStyle(caption_element_child).position,'static'); - assert_equals(caption_element_child.offsetParent,table_element);  + assert_equals(caption_element_child.offsetParent,table_element);  assert_equals(window.getComputedStyle(td_element).position,'static'); - assert_equals(td_element.offsetParent,table_element);  + assert_equals(td_element.offsetParent,table_element);  }, "Valid the algorithm rule of offsetParent check step 2",  { assert: "The offsetParent attribute algorithm rule checking passed!" }  ); 
diff --git a/cssom-view-1/ttwf-js-cssomview-getclientrects-length.html b/cssom-view-1/ttwf-js-cssomview-getclientrects-length.html index 333be85..5c79b7c 100644 --- a/cssom-view-1/ttwf-js-cssomview-getclientrects-length.html +++ b/cssom-view-1/ttwf-js-cssomview-getclientrects-length.html 
@@ -3,12 +3,12 @@  <head>  <title>CSSOM View API Test: the length of getClientRects</title>  <link rel="author" title="simplezeroec" href="mailto:zhaolp0419@gmail.com"> - <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods">  + <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods">  <meta name="flags" content="dom"> - <meta name="assert" content="getClientRects will return rects of the correct number">  + <meta name="assert" content="getClientRects will return rects of the correct number">  <script src="/resources/testharness.js"></script>  <script src="/resources/testharnessreport.js"></script> - +  </head>  <body> 	<div id="rectcontainer"> @@ -17,12 +17,12 @@ 	</div>  <div id="log"></div>  <script> -  +  test(function(){assert_equals(document.getElementById("rectcontainer").getClientRects().length,1,"1 ClientRects should be returned");},"assert_length_of_getClientRects_from_Parent"); 	test(function(){assert_equals(document.getElementById("testBtn").getClientRects().length,1,"1 ClientRects should be returned");},"assert_length_of_getClientRects_from_Button"); 	test(function(){assert_equals(document.getElementById("testLink").getClientRects().length,1,"1 ClientRects should be returned");},"assert_length_of_getClientRects_from_Link");   -  - </script>  + + </script>  </body>  </html> 
diff --git a/cssom-view-1/ttwf-scrollintoview.html b/cssom-view-1/ttwf-scrollintoview.html index 70f9f8e..d148505 100644 --- a/cssom-view-1/ttwf-scrollintoview.html +++ b/cssom-view-1/ttwf-scrollintoview.html 
@@ -11,7 +11,7 @@  <style type="text/css"> 	#phitem{height: 2000px;} 	#viewitem{width:300px;height:200px;margin:0 auto;background-color: lightgreen;} - </style>  + </style>  </head>  <body>  <div id="myDiv"> @@ -27,6 +27,6 @@ 	assert_true(window.pageYOffset + window.innerHeight > viewitem.offsetTop, "The element isn't in the viewport") 	}) 	asytest.done() - </script>  + </script>  </body> -</html> \ No newline at end of file +</html> 
diff --git a/cssom-view-1/window-screen-height-immutable.html b/cssom-view-1/window-screen-height-immutable.html index 936428e..dabb3c8 100644 --- a/cssom-view-1/window-screen-height-immutable.html +++ b/cssom-view-1/window-screen-height-immutable.html 
@@ -5,23 +5,23 @@  <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com">  <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">  <meta name="flags" content="dom"> - <meta name="assert" content="screen.height is immutable">  + <meta name="assert" content="screen.height is immutable">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script>  </head>  <body>  <div id="myDiv"></div>  <div id="log"></div>  <script> 	var originalVal = window.screen.height; - + 	// try to set window.screen.height 	window.screen.height = 0;   	// verify window.screen.height didn't change  test(function() { 	assert_equals(window.screen.height, originalVal,	"window.screen.height should be immutable") -	}, "immutability test"); - </script>  +	}, "immutability test"); + </script>  </body>  </html> 
diff --git a/cssom-view-1/window-screen-height-mutation-throws.html b/cssom-view-1/window-screen-height-mutation-throws.html index 041ac38..b1097d2 100644 --- a/cssom-view-1/window-screen-height-mutation-throws.html +++ b/cssom-view-1/window-screen-height-mutation-throws.html 
@@ -5,9 +5,9 @@  <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com">  <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">  <meta name="flags" content="dom"> - <meta name="assert" content="screen.height mutation throws exception">  + <meta name="assert" content="screen.height mutation throws exception">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script>  </head>  <body>  <div id="myDiv"></div> @@ -15,9 +15,9 @@  <script> 	test(function() { 	assert_throws(null, function() { -	window.screen.height = 0  +	window.screen.height = 0 	}), "chaning window.screen.height should throw exception" -	}, "mutation exception test"); - </script>  +	}, "mutation exception test"); + </script>  </body>  </html> 
diff --git a/cssom-view-1/window-screen-height.html b/cssom-view-1/window-screen-height.html index 5938739..a800934 100644 --- a/cssom-view-1/window-screen-height.html +++ b/cssom-view-1/window-screen-height.html 
@@ -5,33 +5,33 @@  <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> 	<link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">  <meta name="flags" content="dom"> - <meta name="assert" content="window.screen.height has sensible values">  + <meta name="assert" content="window.screen.height has sensible values">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script>  </head>  <body>  <div id="myDiv"></div>  <div id="log"></div>  <script> 	var upperBound = 50000; -  - test(  + + test( 	function() { 	assert_not_equals(window.screen.height, 0, "window.screen.height is zero") 	}, "zero check" 	); - + 	test( 	function() { 	assert_true(window.screen.height > 0, "window.screen.height shouldn't be negative") 	}, "positive check" 	); - + 	test( 	function() { 	assert_true(window.screen.height < upperBound, "window.screen.height shouldn't be so large") 	}, "upper bound check" 	); - </script>  + </script>  </body>  </html> 
diff --git a/cssom-view-1/window-screen-width-immutable.html b/cssom-view-1/window-screen-width-immutable.html index b9e5e04..0a5c415 100644 --- a/cssom-view-1/window-screen-width-immutable.html +++ b/cssom-view-1/window-screen-width-immutable.html 
@@ -5,23 +5,23 @@  <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com">  <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">  <meta name="flags" content="dom"> - <meta name="assert" content="screen.width is immutable">  + <meta name="assert" content="screen.width is immutable">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script>  </head>  <body>  <div id="myDiv"></div>  <div id="log"></div>  <script> 	var originalVal = window.screen.width; - + 	// try to set window.screen.width 	window.screen.width = 0;   	// verify window.screen.width didn't change  test(function() { 	assert_equals(window.screen.width, originalVal,	"window.screen.width should be immutable") -	}, "immutability test"); - </script>  +	}, "immutability test"); + </script>  </body>  </html> 
diff --git a/cssom-view-1/window-screen-width-mutation-throws.html b/cssom-view-1/window-screen-width-mutation-throws.html index f8e1db1..1b0b516 100644 --- a/cssom-view-1/window-screen-width-mutation-throws.html +++ b/cssom-view-1/window-screen-width-mutation-throws.html 
@@ -5,9 +5,9 @@  <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com">  <link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">  <meta name="flags" content="dom"> - <meta name="assert" content="screen.width mutation throws exception">  + <meta name="assert" content="screen.width mutation throws exception">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script>  </head>  <body>  <div id="myDiv"></div> @@ -15,9 +15,9 @@  <script> 	test(function() { 	assert_throws(null, function() { -	window.screen.width = 0  +	window.screen.width = 0 	}), "chaning window.screen.width should throw exception" -	}, "mutation exception test"); - </script>  +	}, "mutation exception test"); + </script>  </body>  </html> 
diff --git a/cssom-view-1/window-screen-width.html b/cssom-view-1/window-screen-width.html index 96f95be..4f7f4ec 100644 --- a/cssom-view-1/window-screen-width.html +++ b/cssom-view-1/window-screen-width.html 
@@ -5,33 +5,33 @@  <link rel="author" title="Neils Christoffersen" href="mailto:neils.christoffersen@gmail.com"> 	<link rel="help" href="http://www.w3.org/TR/cssom-view/#the-screen-interface">  <meta name="flags" content="dom"> - <meta name="assert" content="window.screen.width has sensible values">  + <meta name="assert" content="window.screen.width has sensible values">  <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script>  + <script src="/resources/testharnessreport.js"></script>  </head>  <body>  <div id="myDiv"></div>  <div id="log"></div>  <script> 	var upperBound = 50000; -  - test(  + + test( 	function() { 	assert_not_equals(window.screen.width, 0, "window.screen.width is zero") 	}, "zero check" 	); - + 	test( 	function() { 	assert_true(window.screen.width > 0, "window.screen.width shouldn't be negative") 	}, "positive check" 	); - + 	test( 	function() { 	assert_true(window.screen.width < upperBound, "window.screen.width shouldn't be so large") 	}, "upper bound check" 	); - </script>  + </script>  </body>  </html>